<?php

class CWhereCondition{
	const EQUALS 			= 'EQUALS';
	const MORE_THAN 		= 'MORE_THAN';
	const MORE_EQUALS_THAN 	= 'MORE_EQUALS_THAN';
	const LESS_THAN 		= 'LESS_THAN';
	const LESS_EQUALS_THAN 	= 'LESS_EQUALS_THAN';
	const LIKE				= 'LIKE';
	const NOT_NULL			= 'NOT_NULL';
	const ISNULL			= 'ISNULL';
	const BETWEEN			= 'BETWEEN';
	const IN_LIST			= 'INLIST';
	
	public $_name_field;
	public $_operator;
	public $_values;
	
	public function __construct($name_field, $operator, $values=null){
		$this->_name_field = $name_field;
		$this->_operator = $operator;
		$this->_values = $values;
	}
}